Optimal. Leaf size=43 \[ -\frac {1}{B n (b c-a d) \left (B \log \left (e (a+b x)^n (c+d x)^{-n}\right )+A\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.12, antiderivative size = 43, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 40, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.025, Rules used = {6686} \[ -\frac {1}{B n (b c-a d) \left (B \log \left (e (a+b x)^n (c+d x)^{-n}\right )+A\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6686
Rubi steps
\begin {align*} \int \frac {1}{(a+b x) (c+d x) \left (A+B \log \left (e (a+b x)^n (c+d x)^{-n}\right )\right )^2} \, dx &=-\frac {1}{B (b c-a d) n \left (A+B \log \left (e (a+b x)^n (c+d x)^{-n}\right )\right )}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 41, normalized size = 0.95 \[ -\frac {1}{(b B c n-a B d n) \left (B \log \left (e (a+b x)^n (c+d x)^{-n}\right )+A\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.61, size = 86, normalized size = 2.00 \[ -\frac {1}{{\left (B^{2} b c - B^{2} a d\right )} n^{2} \log \left (b x + a\right ) - {\left (B^{2} b c - B^{2} a d\right )} n^{2} \log \left (d x + c\right ) + {\left (B^{2} b c - B^{2} a d\right )} n \log \relax (e) + {\left (A B b c - A B a d\right )} n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.18, size = 95, normalized size = 2.21 \[ -\frac {1}{B^{2} b c n^{2} \log \left (b x + a\right ) - B^{2} a d n^{2} \log \left (b x + a\right ) - B^{2} b c n^{2} \log \left (d x + c\right ) + B^{2} a d n^{2} \log \left (d x + c\right ) + A B b c n + B^{2} b c n - A B a d n - B^{2} a d n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.18, size = 366, normalized size = 8.51 \[ \frac {2}{\left (a d -b c \right ) \left (-i \pi B \,\mathrm {csgn}\left (i e \right ) \mathrm {csgn}\left (i \left (b x +a \right )^{n} \left (d x +c \right )^{-n}\right ) \mathrm {csgn}\left (i e \left (b x +a \right )^{n} \left (d x +c \right )^{-n}\right )+i \pi B \,\mathrm {csgn}\left (i e \right ) \mathrm {csgn}\left (i e \left (b x +a \right )^{n} \left (d x +c \right )^{-n}\right )^{2}-i \pi B \,\mathrm {csgn}\left (i \left (b x +a \right )^{n}\right ) \mathrm {csgn}\left (i \left (d x +c \right )^{-n}\right ) \mathrm {csgn}\left (i \left (b x +a \right )^{n} \left (d x +c \right )^{-n}\right )+i \pi B \,\mathrm {csgn}\left (i \left (b x +a \right )^{n}\right ) \mathrm {csgn}\left (i \left (b x +a \right )^{n} \left (d x +c \right )^{-n}\right )^{2}+i \pi B \,\mathrm {csgn}\left (i \left (d x +c \right )^{-n}\right ) \mathrm {csgn}\left (i \left (b x +a \right )^{n} \left (d x +c \right )^{-n}\right )^{2}-i \pi B \mathrm {csgn}\left (i \left (b x +a \right )^{n} \left (d x +c \right )^{-n}\right )^{3}+i \pi B \,\mathrm {csgn}\left (i \left (b x +a \right )^{n} \left (d x +c \right )^{-n}\right ) \mathrm {csgn}\left (i e \left (b x +a \right )^{n} \left (d x +c \right )^{-n}\right )^{2}-i \pi B \mathrm {csgn}\left (i e \left (b x +a \right )^{n} \left (d x +c \right )^{-n}\right )^{3}+2 B \ln \relax (e )+2 B \ln \left (\left (b x +a \right )^{n}\right )-2 B \ln \left (\left (d x +c \right )^{n}\right )+2 A \right ) B n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 2.47, size = 81, normalized size = 1.88 \[ -\frac {1}{{\left (b c n - a d n\right )} B^{2} \log \left ({\left (b x + a\right )}^{n}\right ) - {\left (b c n - a d n\right )} B^{2} \log \left ({\left (d x + c\right )}^{n}\right ) + {\left (b c n - a d n\right )} A B + {\left (b c n \log \relax (e) - a d n \log \relax (e)\right )} B^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.49, size = 42, normalized size = 0.98 \[ \frac {1}{B\,n\,\left (A+B\,\ln \left (\frac {e\,{\left (a+b\,x\right )}^n}{{\left (c+d\,x\right )}^n}\right )\right )\,\left (a\,d-b\,c\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________